unit RunNameDlg;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, dateutils;

type
  TfrmRunName = class(TForm)
    Label1: TLabel;
    ebRunName: TEdit;
    btnOK: TButton;
    btnCancel: TButton;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

implementation

{$R *.dfm}

procedure TfrmRunName.FormCreate(Sender: TObject);
begin
   ebRunName.Text := inttostr(DayOf(Now)) + '-' + inttostr(MonthOf(Now)) + '-' + inttostr(YearOf(Now)) + ' ' +
      inttostr(HourOf(Now)) + '-' + inttostr(MinuteOf(Now)) + '-' + inttostr(SecondOf(Now));
end;


end.
